<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.org/rich"
                template="/templates/diamond-parking.xhtml">
    
    <ui:define name="pageTitle">Reports</ui:define>
    
    <ui:define name="pageBody">
        <h:form>
            <rich:calendar value="#{reportManager.beginDate}"/><br/>
            <rich:calendar value="#{reportManager.endDate}"/><br/>
            <h:commandButton value="Get Report"/>
        </h:form>
        <h:graphicImage value="#{reportManager.reportUrl}" rendered="#{not empty reportManager.report}"/>
        
    </ui:define>
    
</ui:composition>